--//===============================================================================
--// 初始化数据。
--//===============================================================================
--枚举初始化。
declare @EnumName nvarchar(128)
--资讯类型枚举。
set @EnumName = 'ES.EnumExamType'
delete from tblCommonEnums where EnumName = @EnumName
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'Info','考试资讯',0,0)
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'Syllabus','考试大纲',1,1)
--资讯状态枚举。
set @EnumName = 'ES.EnumExamStatus'
delete from tblCommonEnums where EnumName = @EnumName
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'Not','暂不发布',0,0)
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'Issue','发布',1,1)
--快捷方式类型。
set @EnumName = 'ES.EnumShortcutType'
delete from tblCommonEnums where EnumName = @EnumName
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'Hyperlink','超链接',0,0)
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'Plugin','客户端插件',1,1)
--快捷方式状态。
set @EnumName = 'ES.EnumShortcutStatus'
delete from tblCommonEnums where EnumName = @EnumName
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'Stop','停用',0,0)
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'Start','启用',1,1)
--链接方式枚举。
set @EnumName = 'ES.EnumLinkTarget'
delete from tblCommonEnums where EnumName = @EnumName
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'self','_self',0,0)
insert into tblCommonEnums(EnumName,Member,MemberName,IntValue,OrderNo) values(@EnumName,'blank','_blank',1,1)